﻿using System;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations.Schema;
using YiSha.Util;

namespace YiSha.Entity.OrganizationManage
{
    /// <summary>
    /// 创 建：admin
    /// 日 期：2020-05-09 22:50
    /// 描 述：产品信息实体类
    /// </summary>
    [Table("sys_moto")]
    public class MotoEntity : BaseExtensionEntity
    {
        /// <summary>
        /// 产品标题
        /// </summary>
        /// <returns></returns>
        public string MotoTitle { get; set; }
        /// <summary>
        /// 副标题
        /// </summary>
        /// <returns></returns>
        public string MotoSubtitle { get; set; }
        /// <summary>
        /// 产品内容
        /// </summary>
        /// <returns></returns>
        public string MotoContent { get; set; }
        /// <summary>
        /// 产品标签
        /// </summary>
        /// <returns></returns>
        public string MotoTag { get; set; }
        /// <summary>
        /// 封面图
        /// </summary>
        /// <returns></returns>
        public string CoverImage { get; set; }
        /// <summary>
        /// 型式
        /// </summary>
        /// <returns></returns>
        public string MotoXingshi { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        /// <returns></returns>
        public string MotoRemarks { get; set; }
        /// <summary>
        /// 上市时间
        /// </summary>
        /// <returns></returns>
        public string MotoTime { get; set; }
        /// <summary>
        /// 视频url
        /// </summary>
        /// <returns></returns>
        public string MotoVideo { get; set; }
        /// <summary>
        /// 排量
        /// </summary>
        /// <returns></returns>
        public string MotoPailiang { get; set; }
        /// <summary>
        /// 压缩比
        /// </summary>
        /// <returns></returns>
        public string MotoYsb { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MotoGonglv { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MotoNiuju { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MotoGongyou { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MotoLhq { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MotoBiansu { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MotoChuandong { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MotoQdfs { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MotoShisu { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MotoJiasu { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MotoCkg { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MotoLdjx { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MotoZhiliang { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MotoYxrl { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MotoJianzhen { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MotoQzd { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MotoHzd { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MotoQianlun { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MotoHoulun { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MotoPrice { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MotoPrice1 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MotoUrl { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MotoColor { get; set; }
        /// <summary>
        /// 缩略图
        /// </summary>
        /// <returns></returns>
        public string ThumbImage { get; set; }
        /// <summary>
        /// 发布者
        /// </summary>
        /// <returns></returns>
        public string MotoAuthor { get; set; }
        /// <summary>
        /// 产品排序
        /// </summary>
        /// <returns></returns>
        public int? MotoSort { get; set; }
        /// <summary>
        /// 发布时间
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(DateTimeJsonConverter))]
        public DateTime? MotoDate { get; set; }
        /// <summary>
        /// 产品类型(1产品案例 2行业产品)
        /// </summary>
        /// <returns></returns>
        public int? MotoType { get; set; }
        /// <summary>
        /// 查看次数
        /// </summary>
        /// <returns></returns>
        public int? ViewTimes { get; set; }
        /// <summary>
        /// 省份Id
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(StringJsonConverter))]
        public long? ProvinceId { get; set; }
        /// <summary>
        /// 城市Id
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(StringJsonConverter))]
        public long? CityId { get; set; }
        /// <summary>
        /// 区县Id
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(StringJsonConverter))]
        public long? CountyId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MotoT1 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MotoT2 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string MotoT3 { get; set; }
    }
}
